package io.renren.entity;

/**
 * Created by Administrator on 2017/6/14 0014.
 */
public class BaseTreeEntity {
    private boolean isLeaf;
    private boolean  exPanded;


    public BaseTreeEntity(boolean isLeaf, boolean exPanded) {
        this.isLeaf = isLeaf;
        this.exPanded = exPanded;
    }


    public BaseTreeEntity() {
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("BaseTreeEntity{");
        sb.append("isLeaf=").append(isLeaf);
        sb.append(", exPanded=").append(exPanded);
        sb.append('}');
        return sb.toString();
    }

    public boolean isLeaf() {

        return isLeaf;
    }

    public void setLeaf(boolean leaf) {
        isLeaf = leaf;
    }

    public boolean isExPanded() {
        return exPanded;
    }

    public void setExPanded(boolean exPanded) {
        this.exPanded = exPanded;
    }
}
